package com.kwlt.smc.dao;

import java.util.List;

import com.kwlt.smc.entity.SmsSendDetail;


public interface RptSendDetailDao {
	/**
	 * 查询
	 * @param sql
	 * @return
	 */
	public List query(String sql);	
	/**
	 * 根据表名称创建表
	 * 
	 * @param tableName
	 */
	public void create(String tableName) throws Exception;
	/**
	 * 保存操作
	 * @param list
	 */
	public void save(List<SmsSendDetail> list,String date);
	public boolean getRptSendDetailByLocalMsgId(String localMsgId,
			String phoneNumber, String dateStr);
	
	/**
	 * 查询状态报告接口
	 * @param localmsgid
	 * @param phone
	 * @param tableName
	 * @return
	 */
	public SmsSendDetail getRptByLocalMsgIdaAndPhone(String localmsgid,
			String phone,String tableName);
}
